//package com.tz.util;
//
//import com.tz.AppConfig;
//import org.springframework.context.ApplicationContext;
//import org.springframework.context.annotation.AnnotationConfigApplicationContext;
//
///**
// * Created by CLL on 2016/10/9.
// */
//public class MyAcUtil {
//
//    private static ApplicationContext ac;
//
//    static {
//        System.out.println("spring容器实例化...");
//        ac = new AnnotationConfigApplicationContext(AppConfig.class);
//    }
//
//    public static ApplicationContext getInstance() {
//        return ac;
//    }
//}
